8bcdd6e300b7ba8c22e071f17982abe5da73996a,android/app/src/main/java/rocks/crimp/crimp/hello/route/RouteFragment.java,RouteFragment,onCategoryChosen,#number#,349

Before Change


        // Populate route adapter
        mRouteAdapter.clear();
        mRouteAdapter.addAll(routeNameList);
        mRouteSpinner.setEnabled(true);

        int committedCategoryPosition = CrimpApplication.getAppState()
                .getInt(CrimpApplication.COMMITTED_CATEGORY, 0);

After Change


        // Populate route adapter
        mRouteAdapter.clear();
        mRouteAdapter.addAll(routeNameList);
        String currentScore = CrimpApplication.getAppState().getString(CrimpApplication.CURRENT_SCORE, null);
        if(currentScore != null && currentScore.length()>0){
            mRouteSpinner.setEnabled(false);
        }
        else{
            mRouteSpinner.setEnabled(true);
        }

        int committedCategoryPosition = CrimpApplication.getAppState()